/** @file
  Platform information.

  Copyright (C) 2022 - 2023, Phytium Technology Co., Ltd. All rights reserved.<BR>

  SPDX-License-Identifier: BSD-2-Clause-Patent

**/
#ifndef PLATFORM_PEI_H_
#define PLATFORM_PEI_H_

#include <PiPei.h>

//
// The Library classes this module consumes
//
#include <Library/ArmPlatformLib.h>
#include <Library/ArmSmcLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/BmcBaseLib.h>
#include <Library/DebugLib.h>
#include <Library/HobLib.h>
#include <Library/PeimEntryPoint.h>
#include <Library/PeiServicesLib.h>
#include <Library/PcdLib.h>
#include <Library/ParameterTable.h>
#include <Library/PrintLib.h>
#include <Library/PssiLib.h>
#include <Library/ScmiLib.h>
#include <Library/SerialPortLib.h>
//
// The protocols, PPI and GUID definitions for this module
//
#include <Ppi/BootInRecoveryMode.h>
#include <Ppi/GuidedSectionExtraction.h>
#include <Ppi/MasterBootMode.h>
#include <Ppi/ReadOnlyVariable2.h>

#include "McuInfo.h"

typedef struct  _MONTH_DESCRIPTION {
  CONST CHAR8* MonthStr;
  UINT32       MonthInt;
} MONTH_DESCRIPTION;

EFI_STATUS
EFIAPI
PlatformPeim (
  VOID
  );

EFI_STATUS
EFIAPI
InitializePlatformPeim (
  IN       EFI_PEI_FILE_HANDLE  FileHandle,
  IN CONST EFI_PEI_SERVICES     **PeiServices
  );

#endif /* _PLATFORM_PEI_H */
